<template>
    <app-layout :memu-tree="memuData">
        <transition name="router-fade" mode="out-in">
            <router-view> </router-view>
        </transition>
    </app-layout>
</template>
<script>
import AppLayout from '../../components/AppLayout';

export default {
    components: {
        AppLayout,
    },
    data() {
        return {
            memuData: [
                {
                    path: '/product',
                    text: '商品相关',
                    icon: 'ios-cart',
                    subMemu: [
                        { path: '/product', text: '玩具总览' },
                        { path: '/product/catagroy', text: '玩具分类' },
                        { path: '/product/list', text: '玩具列表' },
                        { path: '/product/stack', text: '玩具库存' },
                    ],
                },
                {
                    path: '/product',
                    text: '评论相关',
                    icon: 'ios-people',
                    subMemu: [
                        { path: '/product/commit', text: '玩具评论' },
                    ],
                },
            ],
        };
    },
};
</script>

<style scoped lang="less">

</style>
